const state = {
    list: [],
    tabs: 1
}

const mutations = {
    SAVE_SEARCH: (state, data) => {
        console.log(data)
        state.list = data
    },
    TOOGEL_TABS: (state, data) => {
        state.tabs = data
    }
}

export default {
    namespaced: true,
    state,
    mutations
}